
<!-- ▼ Main container -->
<div id="app-container" class="container order_all_order_list" myApp="MY-ORDERS-INDEX">
  <!--订单筛选-->
  <%= hidden_field_tag :authenticity_token, form_authenticity_token, id: 'js-sale-my-orders-index' %>
  <div class="app">
    <div class="app-inner clearfix">
      <div class="app-init-container">
        <div class="app__content js-app-main page-trade-order">
          <div class="widget-list">

            <div class="js-list-filter-region clearfix">
              <div class="widget-list-filter">
                <%= render 'check_form' %>

                <!--付款状态-->
              </div>
            </div>
            <div class="ui-box">
              <div class="js-list-empty-region">
                <div>
                  <div class="widget-list-empty">
                    <table id="table">
                      <thead>
                        <th>单位</th>
                        <th>联系方式</th>
                        <th>订单号</th>
                        <th>下单时间</th>
                        <th>总价：元</th>
                        <th>交易状态</th>
                        <th>操作</th>
                      </thead>
                      <tbody>
                        <% @orders.each_with_index do |order, i| %>
                          <%= render "item_order", order: order, i: i %>
                        <% end %>
                      </tbody>
                    </table>
                  </div>
                  <div class="js-list-footer-region ui-box">
                    <div class="widget-list-footer js-ms-order-list-pagination">
                    </div><!-- ▲ Main container -->
                    <%= paginate @orders %>
                  </div>
                </div>
              </div>
            </div>
            <div id="view-dialog" class="alert-body" data-order-no="">

              <div id="show" class="alert-container" style="margin-top: -260px;">
                <div class="alert-title"><span>查看订单</span><i class="close-btn">&#xe602</i></div>
                <div id="view-inputs" class="view-inputs">
                  <ul></ul>
                </div>
                <div class="buttons">
                  <button class="black-btn cancel-btn" id="view_close">确定</button>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<script type="text/javascript">
  
</script>
